#ifndef DATETIME_H
#define DATETIME_H

#include <time.h>
#include <string>

using namespace std;

//namespace dtime {
//using namespace std;
////16:19:18
//string getTime()
//{
//    time_t timep;
//    time(&timep);
//    char tmp[32];
//    strftime(tmp, sizeof(tmp), "%H_%M_%S",localtime(&timep) );
//    return tmp;
//}

//string getFullTime()
//{
//    time_t timep;
//    time(&timep);
//    char tmp[64];
//    strftime(tmp, sizeof(tmp), "%Y_%m_%d %H_%M_%S",localtime(&timep) );
//    return tmp;
//}

////2020_01_02
//string getData()
//{
//    time_t timep;
//    time(&timep);
//    char tmp[32];
//    strftime(tmp, sizeof(tmp), "%Y_%m_%d",localtime(&timep) );
//    return tmp;
//}

//}




class DateTime
{
public:
    DateTime();
};

#endif // DATETIME_H
